package com.sh.data.engine.application.model.dto.integration;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * @author: mengzheng.mhc
 * @date: 2024/7/1 10:35
 */
@Data
@Schema(description = "获取service port operation")
@NoArgsConstructor
@AllArgsConstructor
public class GetServiceDTO {

    @Schema(title = "服务名称", description = "不做展示, 最后保存的时候用")
    private String service;

    @Schema(title = "服务名称", description = "不做展示, 最后保存的时候用")
    private String localClassPath;

    @Schema(description = "端口号下拉列表")
    private Set<String> ports;

    @Schema(title = "端口号下拉列表", description = "key:端口号，value:调用方法列表")
    private Map<String, List<String>> portOperationMap;
}
